package com.yndsoft.jc.supplier.model;

import java.util.List;

public class OrderModel {

    /**
     * id : 100021
     * type : null
     * s_type : null
     * sid : 100001
     * mid : 100002
     * maid : null
     * num : 2
     * fee : null
     * productprice : null
     * totalprice : 700.0
     * payprice : 0.0
     * isdistribute : null
     * iscancle : null
     * isdelete : null
     * state : 1
     * s_state : null
     * state_test : null
     * state_return : null
     * createtime : 2017-12-15 14:48:41
     * suplier : null
     * member : null
     * memberaddress : null
     * dets : [{"id":100033,"oid":null,"pid":100001,"paid":100001,"img":null,"name":null,"subname":null,"project":null,"method":null,"standard":null,"num":1,"productprice":520,"payprice":520,"totalprice":520,"product":{"id":100001,"img":"http://111.231.140.198:9092/Product/2017092715e76b49b4-a6e1-48ac-94ac-0a4294bcca9b.png","name":"婴儿奶粉检测","subname":"婴儿奶粉检测","tip":null,"marketprice":null,"price":null,"note":null},"productattribute":{"id":100001,"level":null,"project":"三聚氰胺","method":"SN/T 3032\u20142011","standard":"GB 10765\u20142010","price":null,"limit":null,"time":null,"save":null,"shortnote":null}},{"id":100034,"oid":null,"pid":100001,"paid":100004,"img":null,"name":null,"subname":null,"project":null,"method":null,"standard":null,"num":1,"productprice":180,"payprice":180,"totalprice":180,"product":{"id":100001,"img":"http://111.231.140.198:9092/Product/2017092715e76b49b4-a6e1-48ac-94ac-0a4294bcca9b.png","name":"婴儿奶粉检测","subname":"婴儿奶粉检测","tip":null,"marketprice":null,"price":null,"note":null},"productattribute":{"id":100004,"level":null,"project":"蛋白质含量","method":"GB 5009.5\u20142016","standard":"GB 10765\u20142010","price":null,"limit":null,"time":null,"save":null,"shortnote":null}}]
     */

    private String id;
    private String type;
    private String s_type;
    private String sid;
    private String mid;
    private String maid;
    private String num;
    private String fee;
    private String productprice;
    private String totalprice;
    private String payprice;
    private String isdistribute;
    private String iscancle;
    private String isdelete;
    private int state;
    private String s_state;
    private String state_test;
    private String state_return;
    private String createtime;
    private String suplier;
    private String member;
    private String memberaddress;
    private List<DetsBean> dets;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getS_type() {
        return s_type;
    }

    public void setS_type(String s_type) {
        this.s_type = s_type;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getMaid() {
        return maid;
    }

    public void setMaid(String maid) {
        this.maid = maid;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public String getProductprice() {
        return productprice;
    }

    public void setProductprice(String productprice) {
        this.productprice = productprice;
    }

    public String getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(String totalprice) {
        this.totalprice = totalprice;
    }

    public String getPayprice() {
        return payprice;
    }

    public void setPayprice(String payprice) {
        this.payprice = payprice;
    }

    public String getIsdistribute() {
        return isdistribute;
    }

    public void setIsdistribute(String isdistribute) {
        this.isdistribute = isdistribute;
    }

    public String getIscancle() {
        return iscancle;
    }

    public void setIscancle(String iscancle) {
        this.iscancle = iscancle;
    }

    public String getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(String isdelete) {
        this.isdelete = isdelete;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getS_state() {
        return s_state;
    }

    public void setS_state(String s_state) {
        this.s_state = s_state;
    }

    public String getState_test() {
        return state_test;
    }

    public void setState_test(String state_test) {
        this.state_test = state_test;
    }

    public String getState_return() {
        return state_return;
    }

    public void setState_return(String state_return) {
        this.state_return = state_return;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getSuplier() {
        return suplier;
    }

    public void setSuplier(String suplier) {
        this.suplier = suplier;
    }

    public String getMember() {
        return member;
    }

    public void setMember(String member) {
        this.member = member;
    }

    public String getMemberaddress() {
        return memberaddress;
    }

    public void setMemberaddress(String memberaddress) {
        this.memberaddress = memberaddress;
    }

    public List<DetsBean> getDets() {
        return dets;
    }

    public void setDets(List<DetsBean> dets) {
        this.dets = dets;
    }

    public static class DetsBean {
        /**
         * id : 100033
         * oid : null
         * pid : 100001
         * paid : 100001
         * img : null
         * name : null
         * subname : null
         * project : null
         * method : null
         * standard : null
         * num : 1
         * productprice : 520.0
         * payprice : 520.0
         * totalprice : 520.0
         * product : {"id":100001,"img":"http://111.231.140.198:9092/Product/2017092715e76b49b4-a6e1-48ac-94ac-0a4294bcca9b.png","name":"婴儿奶粉检测","subname":"婴儿奶粉检测","tip":null,"marketprice":null,"price":null,"note":null}
         * productattribute : {"id":100001,"level":null,"project":"三聚氰胺","method":"SN/T 3032\u20142011","standard":"GB 10765\u20142010","price":null,"limit":null,"time":null,"save":null,"shortnote":null}
         */

        private String id;
        private String oid;
        private String pid;
        private String paid;
        private String img;
        private String name;
        private String subname;
        private String project;
        private String method;
        private String standard;
        private String num;
        private String productprice;
        private String payprice;
        private String totalprice;
        private ProductBean product;
        private ProductattributeBean productattribute;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getOid() {
            return oid;
        }

        public void setOid(String oid) {
            this.oid = oid;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public String getPaid() {
            return paid;
        }

        public void setPaid(String paid) {
            this.paid = paid;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSubname() {
            return subname;
        }

        public void setSubname(String subname) {
            this.subname = subname;
        }

        public String getProject() {
            return project;
        }

        public void setProject(String project) {
            this.project = project;
        }

        public String getMethod() {
            return method;
        }

        public void setMethod(String method) {
            this.method = method;
        }

        public String getStandard() {
            return standard;
        }

        public void setStandard(String standard) {
            this.standard = standard;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getProductprice() {
            return productprice;
        }

        public void setProductprice(String productprice) {
            this.productprice = productprice;
        }

        public String getPayprice() {
            return payprice;
        }

        public void setPayprice(String payprice) {
            this.payprice = payprice;
        }

        public String getTotalprice() {
            return totalprice;
        }

        public void setTotalprice(String totalprice) {
            this.totalprice = totalprice;
        }

        public ProductBean getProduct() {
            return product;
        }

        public void setProduct(ProductBean product) {
            this.product = product;
        }

        public ProductattributeBean getProductattribute() {
            return productattribute;
        }

        public void setProductattribute(ProductattributeBean productattribute) {
            this.productattribute = productattribute;
        }

        public static class ProductBean {
            /**
             * id : 100001
             * img : http://111.231.140.198:9092/Product/2017092715e76b49b4-a6e1-48ac-94ac-0a4294bcca9b.png
             * name : 婴儿奶粉检测
             * subname : 婴儿奶粉检测
             * tip : null
             * marketprice : null
             * price : null
             * note : null
             */

            private String id;
            private String img;
            private String name;
            private String subname;
            private String tip;
            private String marketprice;
            private String price;
            private String note;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSubname() {
                return subname;
            }

            public void setSubname(String subname) {
                this.subname = subname;
            }

            public String getTip() {
                return tip;
            }

            public void setTip(String tip) {
                this.tip = tip;
            }

            public String getMarketprice() {
                return marketprice;
            }

            public void setMarketprice(String marketprice) {
                this.marketprice = marketprice;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getNote() {
                return note;
            }

            public void setNote(String note) {
                this.note = note;
            }
        }

        public static class ProductattributeBean {
            /**
             * id : 100001
             * level : null
             * project : 三聚氰胺
             * method : SN/T 3032—2011
             * standard : GB 10765—2010
             * price : null
             * limit : null
             * time : null
             * save : null
             * shortnote : null
             */

            private String id;
            private String level;
            private String project;
            private String method;
            private String standard;
            private String price;
            private String limit;
            private String time;
            private String save;
            private String shortnote;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getLevel() {
                return level;
            }

            public void setLevel(String level) {
                this.level = level;
            }

            public String getProject() {
                return project;
            }

            public void setProject(String project) {
                this.project = project;
            }

            public String getMethod() {
                return method;
            }

            public void setMethod(String method) {
                this.method = method;
            }

            public String getStandard() {
                return standard;
            }

            public void setStandard(String standard) {
                this.standard = standard;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getLimit() {
                return limit;
            }

            public void setLimit(String limit) {
                this.limit = limit;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getSave() {
                return save;
            }

            public void setSave(String save) {
                this.save = save;
            }

            public String getShortnote() {
                return shortnote;
            }

            public void setShortnote(String shortnote) {
                this.shortnote = shortnote;
            }
        }
    }
}
